package com.credit.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the credit_payment_order database table.
 * 
 */
@Entity
@Table(name="credit_payment_order")
//@NamedQuery(name="CreditPaymentOrder.findAll", query="SELECT c FROM CreditPaymentOrder c")
public class CreditPaymentOrder implements Serializable {

	
	private String orderId;

	private BigDecimal amount;

	@Temporal(TemporalType.TIMESTAMP)
	private Date callbackTime;

	@Temporal(TemporalType.TIMESTAMP)
	private Date createTime;

	private String payChannelId;

	private String payType;

	private Long payUserId;

	private String status;

	private String thirdOrderId;

	private String tradeName;

	@Temporal(TemporalType.TIMESTAMP)
	private Date updateTime;

	public CreditPaymentOrder() {
	}

	@Id
	public String getOrderId() {
		return this.orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public BigDecimal getAmount() {
		return this.amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public Date getCallbackTime() {
		return this.callbackTime;
	}

	public void setCallbackTime(Date callbackTime) {
		this.callbackTime = callbackTime;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getPayChannelId() {
		return this.payChannelId;
	}

	public void setPayChannelId(String payChannelId) {
		this.payChannelId = payChannelId;
	}

	public String getPayType() {
		return this.payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public Long getPayUserId() {
		return this.payUserId;
	}

	public void setPayUserId(Long payUserId) {
		this.payUserId = payUserId;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getThirdOrderId() {
		return this.thirdOrderId;
	}

	public void setThirdOrderId(String thirdOrderId) {
		this.thirdOrderId = thirdOrderId;
	}

	public String getTradeName() {
		return this.tradeName;
	}

	public void setTradeName(String tradeName) {
		this.tradeName = tradeName;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}